/*
 * @Author: silence
 * @Date: 2022-05-19 16:18:25
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-11-06 14:21:37
 * @Description: 
 */
class StringConstant {
  ///shared_preferences初始化完成后bus
  static String SpInitedEvent = "StringConstant.spInitedEvent";

  ///用户凭证
  static String UserAuth = "StringConstant.UserAuth";

  ///更新用户信息
  static String UserInfoUpdateEvent = "StringConstant.UserInfoUpdateEvent";

  ///用户登录bus
  static String UserLoginInEvent = "StringConstant.UserLoginInEvent";

  ///退出登录bus
  static String UserLoginOutEvent = "StringConstant.UserLoginOutEvent";

  ///用户默认头像
  static String UserDefaulAvator =
      "imgs/personal/personal_photo_defaultavatar_75@3x.png";

  ///我的界面刷新
  static String UserInfoRefresh = "StringConstant.UserInfoRefresh";

  ///tabbar 需要跳转到哪个tabbar
  static String APPGotoTabbar = "StringConstant.APPGotoTabbar";

  ///SpUtils初始化完成
  static String SpUtilsInitFinished = 'StringConstant.SpUtilsInitFinished';

  ///用户同意版本协议
  static String VersionProtocolAgree = 'StringConstant.VersionProtocolAgree';

  ///启动动画结束
  static String LaunchAnimationFinished =
      'StringConstant.LaunchAnimationFinished';

  /// 网络状态发生变化
  static String NetStateChange = 'StringConstant.NetStateChange';

  /// 设备搜索的PN码发生变化
  static String SearchDeviceChange = 'StringConstant.SearchDeviceChange';

  /// 用户名搜索的关键字发生变化
  static String SearchUserNameChange = 'StringConstant.SearchUserNameChange';

  /// 版本更新key
  static String VersionUpdate(String version) {
    return "StringConstant.VersionUpdate_${version}";
  }

  /// 用户改变了app语言
  static String LanguageChange = "StringConstant.LanguageChange";

  /// 选择的设备发生了改变
  static String SelectDeviceChange = "StringConstant.SelectDeviceChange";

  /// 打开最新电价折线图
  static String OpenLatestElectricityPriceChart =
      "StringConstant.OpenLatestElectricityPriceChart";

  /// 我的电站数量发生变化
  static String PowerStationsNumChange =
      "StringConstant.PowerStationsNumChange";

  /// 添加了第一个电站
  static String PowerStationsFirstAdded =
      "StringConstant.PowerStationsFirstAdded";

  /// 用户是否已经遵守用户协议和隐私政策
  static String AgreementAndPrivacyPolicy =
      "StringConstant.AgreementAndPrivacyPolicy";
}
